Skip to content

Merge pull request #40 from nesquivelr/enhancement/update_filter_tags #9

Merge pull request #40 from nesquivelr/enhancement/update_filter_tags

Merge pull request #40 from nesquivelr/enhancement/update_filter_tags #9

Workflow file for this run

name: Create Github Release
on:
push:
tags:
- "*.*.*"
- "*.*.*-alpha.*"
jobs:
run_tests:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.8, 3.9]
os: [ubuntu-latest, macos-latest]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
pip install -e .[test]
- name: Run tests
run: python tom_antares/tests/run_tests.py
create_release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
draft: true