Skip to content

Commit 1f9cf07

Browse files
authored
Merge pull request #137 from pseewald/ci/drop-conda
Remove use of conda from CI
2 parents 011609a + a067778 commit 1f9cf07

File tree

2 files changed

+13
-49
lines changed

2 files changed

+13
-49
lines changed

.github/dependabot.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "github-actions"
4+
directory: "/"
5+
schedule:
6+
interval: "weekly"
7+
8+
- package-ecosystem: "pip"
9+
directory: "/"
10+
schedule:
11+
interval: "weekly"

.github/workflows/test.yml

Lines changed: 2 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -31,52 +31,6 @@ jobs:
3131
run: |
3232
.travis/prep_cron.sh
3333
34-
conda:
35-
needs:
36-
- resources
37-
runs-on: ${{ matrix.os }}
38-
strategy:
39-
fail-fast: false
40-
matrix:
41-
os: [ubuntu-latest]
42-
python: ["3.7", "3.8", "3.9", "3.10"]
43-
44-
defaults:
45-
run:
46-
shell: "bash -l {0}"
47-
48-
steps:
49-
- name: Checkout code
50-
uses: actions/checkout@v2
51-
52-
- name: Load resources
53-
uses: actions/cache@v3
54-
with:
55-
path: ./fortran_tests/before/*/
56-
key: resources-${{ github.event_name }}
57-
58-
- name: Install dependencies
59-
uses: mamba-org/provision-with-micromamba@main
60-
with:
61-
environment-file: environment.yml
62-
extra-specs: |
63-
python=${{ matrix.python }}
64-
coveralls
65-
66-
- name: Install project
67-
run: pip install .
68-
69-
- name: Run tests
70-
run: |
71-
coverage run --source=fprettify setup.py test
72-
73-
- name: Coverage upload
74-
run: coveralls --service=github
75-
env:
76-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
77-
COVERALLS_FLAG_NAME: ${{ matrix.python }}
78-
COVERALLS_PARALLEL: true
79-
8034
pip:
8135
needs:
8236
- resources
@@ -85,7 +39,7 @@ jobs:
8539
fail-fast: false
8640
matrix:
8741
os: [ubuntu-latest]
88-
python: ["3.6" ]
42+
python: ["3.7", "3.8", "3.9", "3.10", "3.11-dev"]
8943

9044
steps:
9145
- name: Checkout code
@@ -118,13 +72,12 @@ jobs:
11872
coverage:
11973
needs:
12074
- pip
121-
- conda
12275
runs-on: ubuntu-latest
12376

12477
steps:
12578
- uses: actions/setup-python@v3
12679
with:
127-
python-version: '3.x'
80+
python-version: "3.x"
12881

12982
- name: Install dependencies
13083
run: pip install coveralls

0 commit comments

Comments
 (0)